/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

// 获取驿站管理列表
export async function getInnAdminJson(params: any) {
  return request('/Inn/innAdminJson', {
    method: 'POST',
    data: params,
  });
}

// 修改用户状态
export async function upDataUserInfo(params: any, queryUrl: string) {
  return request(queryUrl, {
    method: 'POST',
    data: params,
  });
}

// 获取驿站代收品牌
export async function getBrandAuthList(params: any) {
  return request('/Inn/getBrandAuthList', {
    method: 'POST',
    data: params,
  });
}

// 关闭品牌代收
export async function closeBrandCollect(params: any) {
  return request('/Inn/closeBrandCollect', {
    method: 'POST',
    data: params,
  });
}

// 关闭申请消息
export async function innAdminDelete(params: any) {
  return request('/Inn/innAdminDelete', {
    method: 'POST',
    data: params,
  });
}

// 批量上传编码
export async function uploadYtStationCode(params: any) {
  return request('/Inn/uploadYtStationCode', {
    method: 'POST',
    data: params,
  });
}

// 短信云呼详情
export async function cloudCallDetail(params: any) {
  return request('/Inn/cloudCallDetail', {
    method: 'POST',
    data: params,
  });
}

// 短信比例调整
export async function setCloudCallProportion(params: any) {
  return request('/Inn/setCloudCallProportion', {
    method: 'POST',
    data: params,
  });
}

// 短信比例调整
export async function addWhiteList(params: any) {
  return request('/Inn/addWhiteList', {
    method: 'POST',
    data: params,
  });
}

// 驿站通过审核
export async function reOpenYz(params: any) {
  return request('/Inn/setAsIndividual', {
    method: 'POST',
    data: params,
  });
}
